package com.my.note.web.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author lilun <a href="mailto:lil@chsi.com.cn">lilun</a>
 * @version $Id$ 2019年03月21 15:59
 */
@Controller
@RequestMapping
public class ErrorController {

    @RequestMapping("error/{status}")
    public String errorPage(@PathVariable String status) {
        return "error/" + status;
    }
}
